ModelBehavior.fireActiveCarouselLoaded = function(carousel) {
 //Allows for load callbacks 
 } 
 ModelBehavior.fireActiveCarouselItem = function(carousel, element, item) {
  //Allows for item activation callbacks 
  } 
  ModelBehavior.fireDeactiveCarouselItem = function(carousel, element, item) { 
   //Allows for item deactivation callbacks 
   } 
   ModelBehavior.SomeInitializationFunction = { 
   ModelBehavior.SimpleCarousel = new Carousel('SimpleCarousel1', element, 200, 30, ModelBehavior, { 
   setSize: 5, duration: .5, direction: 'horizontal', itemParser: function(item) { 
   //Given html element you can build a data object //for the item if needed for later activation return {}; //some object representing the value 
   }, 
   setItemEvents: function(carousel, element, carouselItem, observer) 
   { //This allows you to set events to the item //like rollovers/mouse events Event.observe(element, 'click', function(){ carousel.activate(carouselItem); 
   }); 
   }, 
   allowAutoLoopOnSet: false, //Hide buttons when at ends of carousel allowAutoLoopOnIndividual: true //Allow an external iteration that loops back 
   });
    ModelBehavior.SimpleCarousel.load(); 